void forward_map(float& u,float& v,vector& p)
Parameter | Type | Description |
---|---|---|
u | float& | point co-ordinate in u axis |
v | float& | point co-ordinate in v axis |
p | vector& | point in object space |
None
This function maps a point from light map texture space into object space.
The (u,v) pair define a point in the object's light map texture space that can
be mapped into an object space 3D point.
This is used to find where a light map pixel is in scene co-ordinates.